package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      缴费记录表实体类
 * </desc>
 *
 * @createDate2020/7/15
 **/
@ItlTables("payment_record")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PaymentRecordPO extends BasePO implements Serializable {

    @ItlField(value = "payment_id",logicKey = "key")
    private String paymentId;   //缴费id
    @ItlField("meal_id")
    private String mealId;      //套餐id
    @ItlField("room_id")
    private String roomId;      //房间id
    @ItlField("project_id")
    private String projectId;      //项目id
    @ItlField("record_type")
    private Integer recordType;  //记录类型 1缴费 2退费
    @ItlField("payment_type")
    private Integer paymentType;    //缴费类型 1在线缴费 2线下缴费
    @ItlField("payment_amount")
    private String paymentAmount;   //缴费金额
    @ItlField("payment_count")
    private Integer paymentCount;       //缴费次数
    @ItlField("remark")
    private String remark;          //备注
    @ItlField("create_user_id")
    private String createUserId;    //创建人id
    @ItlField("operate_user_id")
    private String operateUserId;   //操作人id
}
